package org.vz.webservice.entity;

import javax.xml.bind.annotation.*;

/**
 * @author chj
 * @date 2020/4/26
 * @description
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "name",
        "age"
})
@XmlRootElement(name = "user")
public class User {
    @XmlElement(required = true,namespace = "www.baidu.com")
    private String name;
    @XmlElement(required = true,namespace = "www.baidu.com")
    private String age;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
